package com.gamex.findit.model;

import java.io.Serializable;
import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

import org.apache.ibatis.type.Alias;

@Alias("adImage")
@XmlRootElement
public class ADImage extends BaseModel implements Serializable{
	private static final long serialVersionUID = -2192073288063908729L;
	
	private int adId;
	private String adName;
	private String remark;
	private int imgId;
	private String img;
	private Date regDate;
	private Date modDate;
	private String state;
	private String userId;
	private Date expireDate;
	private int view;
	private int viewCount;
	private String userRole;
	private String urlDownload;
	private String urlVideo;
	private String urlDetail;
	
	public String getUrlDownload() {
		return urlDownload;
	}
	public void setUrlDownload(String urlDownload) {
		this.urlDownload = urlDownload;
	}
	public String getUrlVideo() {
		return urlVideo;
	}
	public void setUrlVideo(String urlVideo) {
		this.urlVideo = urlVideo;
	}
	public String getUrlDetail() {
		return urlDetail;
	}
	public void setUrlDetail(String urlDetail) {
		this.urlDetail = urlDetail;
	}

	public String getUserRole() {
		return userRole;
	}
	public void setUserRole(String userRole) {
		this.userRole = userRole;
	}
	public int getAdId() {
		return adId;
	}
	public void setAdId(int adId) {
		this.adId = adId;
	}
	public String getAdName() {
		return adName;
	}
	public void setAdName(String adName) {
		this.adName = adName;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public int getImgId() {
		return imgId;
	}
	public void setImgId(int imgId) {
		this.imgId = imgId;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public Date getRegDate() {
		return regDate;
	}
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	public Date getModDate() {
		return modDate;
	}
	public void setModDate(Date modDate) {
		this.modDate = modDate;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public Date getExpireDate() {
		return expireDate;
	}
	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}
	public int getView() {
		return view;
	}
	public void setView(int view) {
		this.view = view;
	}
	public int getViewCount() {
		return viewCount;
	}
	public void setViewCount(int viewCount) {
		this.viewCount = viewCount;
	}
	
	@Override
	public String toString() {
		return "AD [adId=" + adId + ", adName=" + adName + ", remark=" + remark
				+ ", imgId=" + imgId + ", img=" + img + ", regDate="
				+ regDate + ", modDate=" + modDate + ", state=" + state
				+ ", userId=" + userId + ", expireDate=" + expireDate
				+ ", view=" + view + ", viewCount=" + viewCount + "]";
	}
	
	
	

}
